<?php
session_start();
require_once '../util/Session.php';
$error = Session::getAttribute2("error");
$usuario = Session::getAttribute2("usuario");
?>

<html>
	<head>
		<title>..:LOGIN:..</title>
	</head>
	<body>
		<h2>Ingreso al Sistema</h2>
		<form method="post" action="../controller/LogonControlador.php">
			<table width="273" cellspacing="0">
				<tr>
					<td width="53">Codigo</td>
					<td width="110"><input name="codigo" type="text"></td>
					<td width="102"></td>
				</tr>
				<tr>
					<td>Clave</td>
					<td><input name="clave" type="password" value="<?php echo $codigo; ?>"></td>
					<td><input name="submit" type="submit" value="Ingresar"></td>
				</tr>
			</table>
		</form>
		<?php echo($error); ?>
	</body>
</html>